package com.ybwh.outterapi.codec;

import lombok.AccessLevel;
import lombok.NoArgsConstructor;

@NoArgsConstructor(access = AccessLevel.PRIVATE)
public class AppKeyHolder {
    private static ThreadLocal<String> app_key = new InheritableThreadLocal<>();

    public static void set(String appkey) {
        app_key.set(appkey);
    }


    public static String get() {
        return app_key.get();
    }

}
